package ngames.com.sushitv.activity;

import android.content.Intent;
import android.os.Bundle;

import ngames.com.sushitv.R;
import ngames.com.sushitv.action.ForgotPasswordAction;
import ngames.com.sushitv.base.BaseActivity;

public class ForgotPasswordActivity extends BaseActivity {
    ForgotPasswordAction mForgotPasswordAction;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_forgot_password);
        mForgotPasswordAction = new ForgotPasswordAction(this, findViewById(R.id.base_layout));
        mForgotPasswordAction.onCreate();
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        mForgotPasswordAction.onDestroy();
    }

    @Override
    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
        super.onActivityResult(requestCode, resultCode, data);
        mForgotPasswordAction.onActivityResult(requestCode, resultCode, data);
    }
}
